﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using EverBuy.SocialNetworking.BusinessObjects;

namespace EverBuy.SocialNetworking.Services
{
    /// <summary>
    /// 
    /// </summary>
    [ServiceContract]
    public partial interface IFriendService : IDisposable
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="account"></param>
        /// <param name="accountBeingViewed"></param>
        /// <returns></returns>
        [OperationContract]
        bool IsFriend(Account account, Account accountBeingViewed);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="invitationKey"></param>
        /// <param name="invitationTo"></param>
        [OperationContract]
        void CreateFriendFromFriendInvitation(Guid invitationKey, Account invitationTo);
    }
}
